package com.cuit.zuke.order.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.Map;

@FeignClient("zuke-hotel")
public interface HotelFeignClient {

    @GetMapping("/hotel/hotel/getHotelAndRoom/{zkcode}/{roomcode}")
    Map<String, Object> getHotelAndRoom(@PathVariable("zkcode") String zkcode, @PathVariable("roomcode") String roomcode);

}
